#pragma once

#include <eosiolib/eosio.hpp>

#include <string>

namespace eosio {
   class config : public contract {
       public:
            static const uint64_t totalCraise   = (uint64_t)30000 * (uint64_t)10000;           //一共筹集3万EOS
            static const uint64_t downLevel     = (uint64_t)20000 * (uint64_t)10000;           //设置降档金额
            static const uint64_t rewardAmount  = 100;                                         //设置每下注满多少金额可返还
            static const uint64_t rewardPercent = 1;                                           //设置返还比例
            static const uint64_t tokenContract = string_to_name( "rabgametoken" );            //设置RAB发行者账号
            //结算信息
            static struct Settlement {
                uint64_t userid;
                uint64_t bonus;
            };

            static struct BetInfo {
                uint64_t userid;
                uint8_t  digital;
            };
   };
}